package ling.tengfei.service;

import java.util.List;

import link.tengfei.bean.AdminUser;
import link.tengfei.dao.AdminIdDao;
import link.tengfei.dao.AdminIdDaoImpl;

public class AdminIdServiceImpl implements AdminIdService {
	AdminIdDao adminIdDao = new AdminIdDaoImpl();

	@Override
	public boolean findByPassId(int passid) {
		return adminIdDao.findByPassId(passid);
	}

	@Override
	public int addByPassId(int passid) {
		return adminIdDao.addByPassId(passid);
	}

	@Override
	public int findNum() {
		return adminIdDao.findNum();
	}

	@Override
	public List<AdminUser> findByPage(int page) {
		return adminIdDao.findByPage(page);
	}

}
